package com.muyu.danmo.domain;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 社会团体中的小社团对象 danmo_information_mass
 * 
 * @author yangle
 * @date 2024-11-13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("danmo_information_mass")
public class DanmoInformationMass extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 社团主键唯一 */
    private Long massId;

    /** 社团主键名称 */
    @Excel(name = "社团主键名称")
    private String massName;

    /** 社团图片 */
    @Excel(name = "社团图片")
    private String massPicture;

    /** 社团类型 */
    @Excel(name = "社团类型")
    private Long massType;

    /** 协会选择 */
    @Excel(name = "协会选择")
    private Long association;

    /** 省份 */
    @Excel(name = "省份")
    private String province;

    /** 市 */
    @Excel(name = "市")
    private String citycode;

    /** 县 */
    @Excel(name = "县")
    private String countycode;


    @Excel(name = "用户主键")
    private Long userId;

    @Excel(name = "详情")
    private String details;


    private Long number;



    @TableField(exist = false)
    private  List<DanmoInformationMassPhotos> danmoInformationMassPhotosList;
    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("massId", getMassId())
            .append("massName", getMassName())
            .append("massPicture", getMassPicture())
            .append("massType", getMassType())
            .append("association", getAssociation())
            .append("province", getProvince())
            .append("citycode", getCitycode())
            .append("countycode", getCountycode())
            .append("userId", getUserId())
            .append("details", getDetails())
            .toString();
    }
}
